'use strict';

angular.module('mean.employ').config(['$stateProvider', '$urlRouterProvider',
    function ($stateProvider, $urlRouterProvider) {
        $stateProvider
            .state('company', {
                url: '/company',
                abstract: true,
                templateUrl: '/employ/views/company/company.html'
            })
            //企业用户首页面
            .state('company.index', {
                
                url: '/index',
                templateUrl: '/employ/views/company/company-index.html',
                controller: 'CompanyIndexController'
            })
            .state('company.info', {
                url: '/info',
                templateUrl: '/employ/views/company/company-info.html',
                controller: 'CompanyInfoController'
            })
            .state('company.editInfo', {
                url: '/editInfo',
                templateUrl: '/employ/views/company/company-editInfo.html',
                controller: 'CompanyEditInfoController'
            })
            .state('company.postJobList', {
                url: '/postJobList',
                templateUrl: '/employ/views/company/company-postJobList.html',
                controller: 'PostJobListController'
            })
           
            .state('company.postJob', {
                url: '/postJob',
                templateUrl: '/employ/views/company/company-postJob.html',
                controller: 'PostJobController'
            })
            .state('company.editJob', {
                url: '/editJob',
                templateUrl: '/employ/views/company/company-editJob.html',
                controller: 'EditJobController'
            })
           
        ;
    }
]);